import request from '@/utils/request'
// 查询获取栋号、楼层、宿舍号 信息,用于人工考勤信息的显示
export function getListManualAttence(query) {
  return request({
    url: '/smartdor/manualsdAttence/manualsdattenceList',
    method: 'get',
    params: query
  })
}

// 根据宿舍ID查询学生信息列表
/*
export function getStuByDormitoryNo(dormitoryNo) {
  return request({
    url: '/smartdor/manualsdAttence/getStuByDormitoryNo/'+dormitoryNo,
    method: 'get'
  })
}
*/
export function getStuByDormitoryNo(query) {
  return request({
    url: '/smartdor/manualsdAttence/getStuByDormitoryNo',
    method: 'get',
	params: query
  })
}

// 新增人工考勤信息
export function addManualAttence(data) {

  return request({
    url: '/smartdor/manualsdAttence/create',
    method: 'post',
    data: data
  })
}

